package pe.com.bbva.mantenimiento.bo;

import java.util.List;

import pe.com.bbva.mantenimiento.domain.KitMaterial;
import pe.com.stefanini.core.bo.Grid;
import pe.com.stefanini.core.exceptions.BOException;
import pe.com.stefanini.core.exceptions.DAOException;

public interface KitMaterialBO {
	public List<KitMaterial> findKits(KitMaterial kitMaterial) throws BOException, DAOException ;
	public KitMaterial findById(Long id) throws BOException, DAOException;
	public void save(KitMaterial kitMaterial) throws BOException, DAOException;
	public void delete(KitMaterial kitMaterial)throws BOException;
	@SuppressWarnings("rawtypes")
	public void deleteLog(Class kitMaterial, Long id) throws BOException;
	public Grid<KitMaterial> findToGrid(KitMaterial kitMaterial,String order, int page, int rows)	throws BOException, DAOException;
}